package Data::Conveyor::Ticket::Facets;

# $Id: Facets.pm 11253 2006-04-25 11:41:56Z gr $

use warnings;
use strict;
use Class::Scaffold::Exception::Util 'assert_object_type';


our $VERSION = '0.02';


use base 'Class::Scaffold::Storable';


sub check {
    my ($self, $ticket) = @_;
    assert_object_type $ticket, 'ticket';
}


sub delete {
    my ($self, $ticket) = @_;
    $self->storage->facets_delete($ticket);
}


sub read {
    my ($self, $ticket) = @_;
    $self->storage->facets_read($ticket);
}


sub store {
    my ($self, $ticket)  = @_;
    $self->storage->facets_store($ticket);
}


1;


__END__

{% USE p = PodGenerated %}

=head1 NAME

{% p.package %} - stage-based conveyor-belt-like ticket handling system

=head1 SYNOPSIS

    {% p.package %}->new;

=head1 DESCRIPTION

None yet. This is an early release; fully functional, but undocumented. The
next release will have more documentation.

=head1 METHODS

=over 4

{% p.write_methods %}

=back

{% p.write_inheritance %}

{% PROCESS standard_pod %}

=cut

